package jgl.vajra.kingkong.part.vehicle.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.databinding.ActivityImmediatePaymentBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class ImmediatePaymentContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<String> getAccountBalanceData(Map<String, Object> map);

        public abstract Observable<Object> determinePaymentData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {
        void onDetermine();

        void returnAccountBalanceData(String data);

        void onBalancePayment(int type);

        void onAliPay();

        void onWXPay();

        void returnDeterminePaymentData();
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityImmediatePaymentBinding, Model> {

        public abstract void getAccountBalanceData(Map<String, Object> map);

        public abstract void determinePaymentData(Map<String, Object> map);
    }
}
